package com.fh.shop.config;


public class MQConstant {

    public interface Direct{
        String EX = "directEx";
        String QUEUE = "DirectQueue";
        String ROUTE_KEY = "red";
    }

    public interface Fanout{
        String EX = "fanoutEx";
        String QUEUE1 = "fanoutQueue1";
        String QUEUE2 = "fanoutQueue2";
    }

    public interface mailDirect{
        String EX = "mailDirectEx";
        String QUEUE = "mailQueue";
        String ROUTE_KEY = "mail";
    }

    public interface payFanout{
        String EX = "payFanoutEx";
        String STOCK_QUEUE = "StockQueue";
        String SCORE_QUEUE = "ScoreQueue";
    }

    public interface orderDirect{
        String EX = "orderDirectEx";
        String QUEUE = "orderQueue";
        String ROUTE_KEY = "order";
    }

    public interface orderDeadDirect{
        String EX = "orderDeadDirectEx";
        String QUEUE = "orderDeadQueue";
        String ROUTE_KEY = "orderDead";
    }
}
